package com.example.cwt101_group.merchant.service;

import com.example.cwt101_group.merchant.params.MerchantRequestParams;
import com.example.cwt101_group.merchant.pojo.Merchant;

import java.util.List;

public interface MerchantService {
    int addMerchant(MerchantRequestParams MerchantRequestParams);
    Merchant findMerchantByName(String mname);
    Merchant login(MerchantRequestParams merchantRequestParams);
    int updateMerchant(Merchant merchant);
    List<Merchant> list();
}
